package com.oauth.components.client.ui.windows;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DecoratedStackPanel;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Widget;
import com.oauth.components.client.ui.gadgets.FreeLancerConstant;

public class FreeLancerAd extends Composite {

	private static FreeLancerAdUiBinder uiBinder = GWT
			.create(FreeLancerAdUiBinder.class);

	interface FreeLancerAdUiBinder extends UiBinder<Widget, FreeLancerAd> {
	}

	@UiField
	DecoratedStackPanel stackPanel;

	HTML freeLancer;
	
	public FreeLancerAd() {
		initWidget(uiBinder.createAndBindUi(this));
		freeLancer = new HTML();
		freeLancer.setHTML(FreeLancerConstant.FREELANCER_SCRIPT);
		stackPanel.add(freeLancer,"<div class=\"stackText\">FreeLancer.com Advertisement</div>",true);
		
	}

}
